package cn.edxuanlen.designPattern.template;

/**
 * @author: edxuanlen
 * @date: 2020-07-21 19:05
 * @version: 1.0
 **/
public abstract class Father {
	public void life(){
		study();
		work();
		love();
	}

	public void study(){
		System.out.println("study hard ");
	}

	public void work(){
		System.out.println("work hard ");
	}

	public abstract void love();

}
